package com.lancoo.ccas52.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 课程禁排
 * </p>
 *
 * @author quin.song
 * @since 2023-03-27
 */
@Data
@Accessors(chain = true)
@TableName("rule_course_prohibit")
@ApiModel(value = "RuleCourseProhibit对象", description = "课程禁排")
public class RuleCourseProhibit implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer taskId;

    private Long courseId;

    private String timeCode;

    @ApiModelProperty("0：尽量排(优先排)；1：固排（一定排）；2：禁排")
    private Integer flag;

    private Long teachingClassId;
}
